#include <iostream>
using namespace std;
int main()
{int i,j,k,l,n=9999,a[10000];
    {i=n%10;
     j=n/10%10;
     k=n/10/10%10;
     l=n/10/10/10%10;
     a[n]=n+i+j+k+l;
     cout<<a[n];
     
     }
     system ("pause");
 return 0;
}
      
 
